package inc;

import lombok.Data;

@Data
public class Stu extends Person {
    public String grade;
    private String score;

    public Stu() {
    }

    private Stu(String grade, String score) {
        this.grade = grade;
        this.score = score;
    }

    public Stu(String name, int age, String grade, String score) {
        super(name, age);
        this.grade = grade;
        this.score = score;
    }
    public void test() {
        System.out.println("Stu test");
    }

    private String test2(String name) {
        System.out.println(score + " Stu test2 " + name);
        return name;
    }
}
